var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": [
      {
        "trader": "54703",
        "groupid": "547",
        "dataDate": "2018-03-27",
        "allTimePnl": 55889.62,
        "profitPnl": 130459.72,
        "lossPnl": -74570.09,
        "dayPnl": 3725.974860,
        "tradeCount": 333,
        "reapProfit": 204,
        "lossTime": 129,
        "averageReturnRate": 0.0004,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 132902630.19,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0025,
        "lossYield": -0.0039,
        "profitLossRatio": 0.641,
        "maximumLoss": -0.06285,
        "historyDays": 15,
        "streak": 5,
        "winningDayRatio": 0.6,
        "winRatio": 0.6126,
        "avgHoldPeriodMin": -32.3034,
        "holdsNum": 17,
        "beginCash": 6729796.73
      }, {
        "trader": "54702",
        "groupid": "547",
        "dataDate": "2018-03-27",
        "allTimePnl": 54613.03,
        "profitPnl": 74259.55,
        "lossPnl": -19646.52,
        "dayPnl": 3413.314369,
        "tradeCount": 168,
        "reapProfit": 112,
        "lossTime": 56,
        "averageReturnRate": 0.0012,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 44102740.72,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0027,
        "lossYield": -0.0026,
        "profitLossRatio": 1.0385,
        "maximumLoss": -0.01882,
        "historyDays": 16,
        "streak": 12,
        "winningDayRatio": 0.875,
        "winRatio": 0.6667,
        "avgHoldPeriodMin": 83.5873,
        "holdsNum": 11,
        "beginCash": 5522721.5
      }, {
        "trader": "54701",
        "groupid": "547",
        "dataDate": "2018-03-27",
        "allTimePnl": 40624.30,
        "profitPnl": 58815.59,
        "lossPnl": -18191.29,
        "dayPnl": 2539.018731,
        "tradeCount": 365,
        "reapProfit": 215,
        "lossTime": 150,
        "averageReturnRate": 0.0011,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 38632313.16,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0039,
        "lossYield": -0.0027,
        "profitLossRatio": 1.4444,
        "maximumLoss": -0.07417,
        "historyDays": 16,
        "streak": 8,
        "winningDayRatio": 0.9375,
        "winRatio": 0.589,
        "avgHoldPeriodMin": -93.3614,
        "holdsNum": 33,
        "beginCash": 3089414.75
      }, {
        "trader": "503001",
        "groupid": "503",
        "dataDate": "2018-03-27",
        "allTimePnl": 34029.48,
        "profitPnl": 94563.42,
        "lossPnl": -60533.95,
        "dayPnl": 2835.789633,
        "tradeCount": 534,
        "reapProfit": 260,
        "lossTime": 274,
        "averageReturnRate": 0.0005,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 74495799.71,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0024,
        "lossYield": -0.0019,
        "profitLossRatio": 1.2632,
        "maximumLoss": -0.06042,
        "historyDays": 12,
        "streak": 3,
        "winningDayRatio": 0.5833,
        "winRatio": 0.4869,
        "avgHoldPeriodMin": 18.5103,
        "holdsNum": 17,
        "beginCash": 3185919.76
      }, {
        "trader": "503002",
        "groupid": "503",
        "dataDate": "2018-03-27",
        "allTimePnl": 20759.27,
        "profitPnl": 33792.78,
        "lossPnl": -13033.51,
        "dayPnl": 1887.205927,
        "tradeCount": 145,
        "reapProfit": 100,
        "lossTime": 45,
        "averageReturnRate": 0.0008,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 27451132.73,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0044,
        "lossYield": -0.0037,
        "profitLossRatio": 1.1892,
        "maximumLoss": -0.03180,
        "historyDays": 11,
        "streak": 7,
        "winningDayRatio": 0.9091,
        "winRatio": 0.6897,
        "avgHoldPeriodMin": -217.5698,
        "holdsNum": 6,
        "beginCash": 2636359.8
      }, {
        "trader": "54705",
        "groupid": "547",
        "dataDate": "2018-03-27",
        "allTimePnl": 14677.72,
        "profitPnl": 41296.65,
        "lossPnl": -26618.93,
        "dayPnl": 917.357794,
        "tradeCount": 582,
        "reapProfit": 384,
        "lossTime": 198,
        "averageReturnRate": 0.0003,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 43477943.50,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0017,
        "lossYield": -0.0022,
        "profitLossRatio": 0.7727,
        "maximumLoss": -0.01833,
        "historyDays": 16,
        "streak": 6,
        "winningDayRatio": 0.75,
        "winRatio": 0.6598,
        "avgHoldPeriodMin": 34.8902,
        "holdsNum": 10,
        "beginCash": 1297995.1
      }, {
        "trader": "503012",
        "groupid": "503",
        "dataDate": "2018-03-27",
        "allTimePnl": 13045.05,
        "profitPnl": 32286.29,
        "lossPnl": -19241.24,
        "dayPnl": 1087.087675,
        "tradeCount": 165,
        "reapProfit": 103,
        "lossTime": 62,
        "averageReturnRate": 0.0005,
        "utilizationRatio": null,
        "tradeTotalMarketValue": 25316640.24,
        "marketValue": null,
        "marketValueYield": null,
        "profitYield": 0.0022,
        "lossYield": -0.0023,
        "profitLossRatio": 0.9565,
        "maximumLoss": -0.01382,
        "historyDays": 12,
        "streak": 6,
        "winningDayRatio": 0.6667,
        "winRatio": 0.6242,
        "avgHoldPeriodMin": 28.4724,
        "holdsNum": 5,
        "beginCash": 2179844.06
      }
    ]
  })
}
